package com.heny.demo.dbutils;

/**
 * @author litao.cc
 * @version DeviceDDataTableNameProcessor.java v0.1 t2025/5/5 20:48
 * @date 2025/5/5 20:48
 * @description 设备日数据统计表名处理器
 */
public class DeviceDDataTableNameProcessor implements DynamicTableProcessor{
    @Override
    public String getTableName(DynamicTableModel model) {
        int y = model.getY();
        String time = y+"";
        return String.format(TableNameConfig.device_data_time,"d",model.getDeviceTypeId(),time);
    }
}
